<?php
	//Load Iframe Form Blog
	if(@$this->arrParam['call'] == 'blog'):
?>
<style>
.brand, .btn-add-item, .btn-search-item, .filter-data, #load-connect, #load-about{display: none};

</style>

<?php endif;?>
<!-- Nav tabs -->
<ul class="nav nav-tabs content-ul">
	<li class="active"><a href="#home" data-toggle="tab">FAQ</a></li>
	<li><a href="#donate" data-toggle="tab">DONATE</a></li>
	<li><a href="#privacy" data-toggle="tab">PRIVACY POLICY/TERMS OF USE</a></li>
</ul>

<!-- Tab panes -->
<div class="tab-content">
	<div class="tab-pane active" id="home">
		<?php 
			if(!empty($this->faq)):
				$content = Zendvn_Filter_Filter::filterContent($this->faq['content'], 'filter');
			?>
			    <div class="box">
			    	<?php echo $content?>
			    </div>
			<?php endif;?>
	</div>
	<div class="tab-pane" id="donate">
		<?php 
			if(!empty($this->donate)):
				$content = Zendvn_Filter_Filter::filterContent($this->donate['content'], 'filter');
			?>
			    <div class="box">
			    	<?php echo $content?>
			    </div>
			<?php endif;?>
	</div>
	<div class="tab-pane" id="privacy">
		<?php 
			if(!empty($this->donate)):
				$content = Zendvn_Filter_Filter::filterContent($this->privacy['content'], 'filter');
			$donate = '';
			if(!empty($this->donate)):
				$donate = Zendvn_Filter_Filter::filterContent($this->term['content'], 'filter');
			endif;
			?>
			    <div class="box">
			    	<?php echo $content?>
			    	<br />
			    	<?php echo $donate?>
			    </div>
			<?php endif;?>
	</div>
</div>

<script>
	$(function(){
		$(".fancybox-inner").niceScroll();
	})
	$('#myTab a').click(function (e) {
	  	e.preventDefault()
	  	$(this).tab('show')
	})
</script>